package home_work4;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class test5 {
public static void main(String[] args) {
	List list=new ArrayList();
	Collections.addAll(list, 0,1,2,3,4,5,6,7,8,9);
	int [] a=new int[10];
	for(int i=0;i<10;i++) {
		a[i]=(int) list.get(i);
		System.out.println(a[i]);
	}
}
}
